package com.tqfframe.testStarter.Config;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @Author: 唐祺峰
 *  属性配置,Spring boot 自身的自动配置
 * @Date: 2020/12/28 0028 10:24
 * @Version 1.0
 */
@ConfigurationProperties(prefix="hello")
public class HelloProperties {

    private static final String MSG = "world";

    private String msg = MSG ;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }


}